package com.cskaoyan.bean.stat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;

@Data
public class OrderStatVO {
    @JsonFormat(pattern = "yy-MM-dd")
    private Date day;

    private Integer orders;

    private Integer customers;

    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double amount;

    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double pcr;
}
